package me.yex.mall.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author yexy
 * @date 2021/8/12 11:45 下午
 * @description
 */

@EnableFeignClients(basePackages = "me.yex.mall.product.feign")
@EnableDiscoveryClient
//@ComponentScan(basePackages = {“xxx”，“aaa”，“…”})
@ComponentScan(basePackages = {"me.yex.mall.product.*"},basePackageClasses = {me.yex.mall.common.config.MybatisPlusConfig.class})
@SpringBootApplication
public class MallProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(MallProductApplication.class,args);
    }
}
